﻿<%@ Control Language="C#" %>
<%@ Register TagPrefix="Hi" Namespace="Hidistro.UI.Common.Controls" Assembly="Hidistro.UI.Common.Controls" %>
<%@ Import Namespace="Hidistro.Core" %>
<%@ Register TagPrefix="UI" Namespace="ASPNET.WebControls" Assembly="ASPNET.WebControls" %>
<%@ Register TagPrefix="Hi" Namespace="Hidistro.UI.AccountCenter.CodeBehind" Assembly="Hidistro.UI.AccountCenter.CodeBehind" %>

<asp:DataList ID="dtlstFavorite" runat="server" Width="100%" DataKeyField="FavoriteId">
    <ItemTemplate>
            <div class="collect_right_nav_bts_3">
                        <ul>
                            <li class="one_ba_1s"><p><input name="CheckBoxGroup" type="checkbox" value='<%#Eval("FavoriteId") %>'></p></li>
                            <li class="one_ba_2s">
                                <a href="<%#Globals.GetSiteUrls().UrlData.FormatUrl("productDetails", new object[] { Eval("ProductId"), Eval("CategoryUrl") })%>" target="_blank">
                                <%--<a href="/product_detail-<%# Eval("ProductId") %>.htm" target="_blank">--%>
                                    <%--<Hi:ProductDetailsLink ID="ProductDetailsLink1" ProductName='<%# Eval("ProductName") %>' ProductId='<%# Eval("ProductId") %>' ImageLink="true" runat="server">--%>
				           <Hi:ListImage ID="Common_ProductThumbnail1" runat="server" DataField="ThumbnailUrl100" />

                                </a>
                                <%--</Hi:ProductDetailsLink>--%></li>
                            <li class="one_ba_3s"><p>
                                <a href="<%#Globals.GetSiteUrls().UrlData.FormatUrl("productDetails", new object[] { Eval("ProductId"), Eval("CategoryUrl") })%>" target="_blank"><%# Eval("ProductName") %></a>
                                <%--<a href="/product_detail-<%# Eval("ProductId") %>.htm" target="_blank"><%# Eval("ProductName") %></a>--%>
                                <%--<Hi:ProductDetailsLink ID="productNavigationDetails" ProductName='<%# Eval("ProductName") %>' ProductId='<%# Eval("ProductId") %>' runat="server" />--%></p></li>
                            <li class="one_ba_4s"><p><Hi:FormatedMoneyLabel ID="FormatedMoneyLabel1" Money='<%# Eval("MarketPrice").ToString()==""?0:(decimal)Eval("MarketPrice") %>' runat="server" /></p></li>
                            <li class="one_ba_5s"><p><Hi:FormatedMoneyLabel ID="FormatedMoneyLabel2" Money='<%# Eval("RankPrice") %>' runat="server" /></p></li>
                            <li class="one_ba_6s"><p><Hi:FormatedMoneyLabel ID="FormatedMoneyLabel3" Money='<%# Math.Abs((Eval("MarketPrice").ToString()==""?0:(decimal)Eval("MarketPrice"))-(decimal)Eval("RankPrice") )%>' runat="server"></Hi:FormatedMoneyLabel></p></li>
                            <li class="one_ba_7s"><p><asp:ImageButton ID="lbtnDeleted" runat="server" CommandName="Deleted" ImageUrl='http://image.juseshop.com/images\/newindex/guanbides.png'></asp:ImageButton></p></li>

                        </ul>
                    </div>
     </ItemTemplate>
</asp:DataList>	